package Jieyekaoshi;

public class R {
    public static void main(String[] args) {
        // 创建一个字符串数组，并初始化
        String[] fruits = {"1", "2", "3", "4", "5"};

        // 遍历数组并打印每个元素
        for (int i = 0; i < fruits.length; i++) {
            System.out.println(fruits[i]);
        }
    }
}
